//
//  UIViewController+HKKeyBoardCover.h
//  HKProject
//
//  Created by 胡锦涛 on 2020/6/9.
//  Copyright © 2020 胡锦涛. All rights reserved.
/*
 键盘防遮挡：使用
 
 */

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIViewController (HKKeyBoardCover)
@property (strong, nonatomic) UITapGestureRecognizer * hk_keyboardHideTapGesture;//键盘点击隐藏手势
@property (strong, nonatomic) UIView * hk_objectView;//目标视图

#pragma mark - 添加键盘通知
- (void)hk_addKeyBoardNoti;

#pragma mark - 清理通知和移除手势 在控制器的dealloc中记得要释放
- (void)hk_clearKeyBoardNotiAndGesture;
@end

NS_ASSUME_NONNULL_END
